package com.roadjava.log.slf4j;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Slf4jService1 {

    // 默认配置文件：logback.xml
    private static final Logger logger = LoggerFactory.getLogger(Slf4jService1.class);

    public static void main(String[] args) {
        logger.trace("trace level");
        logger.debug("debug level");
        logger.info("info level");
        logger.warn("warn level");
        logger.error("error level");
    }

}
